package com.sooth.micro.camunda.converter.bean.task;

import com.sooth.micro.camunda.converter.bean.BaseDefinition;
import com.sooth.micro.camunda.converter.bean.BpmnElementType;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class ScriptTaskDefinition extends BaseDefinition {

    private String scriptFormat;

    private String scriptText;

    private String resultVariable;

    @Override
    public String getNodeType() {
        return BpmnElementType.SCRIPT_TASK.getElementTypeName().get();
    }
}
